package com.wish.wishsystem_management.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.wishsystem_management.entity.TbBusiness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户表 Mapper 接口
 * </p>
 *
 * @author zhaiwj
 * @since 2021-03-22
 */
public interface TbBusinessMapper extends BaseMapper<TbBusiness> {

    IPage list2(Page pag);
    TbBusiness getBusinessByName(@Param("value") String value);
    void saveCompanyInfo1(TbBusiness company);
}
